From: Thien-Thi Nguyen Date: Thu, 24 Jan 2008 15:09:24 +0000 (+0000) Subject: (vc-diff-finish): Search all frames for the buffer's window. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~24563 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=845ec007da2bc3b649ca9ecf113fda697e9314cb;p=emacs.git (vc-diff-finish): Search all frames for the buffer's window. --- diff --git a/lisp/vc.el b/lisp/vc.el index 9d1c6682c4d..35c371a6038 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -1994,7 +1994,7 @@ the buffer contents as a comment." (let ((inhibit-read-only t)) (insert "No differences found.\n"))) (goto-char (point-min)) - (let ((window (get-buffer-window (current-buffer)))) + (let ((window (get-buffer-window (current-buffer) t))) (when window (shrink-window-if-larger-than-buffer window))))))